<taglib name="Article" />
<!doctype html>
<html>
<head>
<include file="Public:headinc"/>
<include file="Public:pagestyle"/>
</head>
<body>
<!-- nav -->
<include file="Public:nav"/>
<!-- // nav -->
<!-- category -->
<include file="Public:category"/>
<!-- // category -->
	
	<!-- item -->
	<div class="y-wrapper">
<foreach name="data" item="val">	
<div class="y-item">
	<div class="y-item-img y-pullLeft">
		<a href="{:y_u('Detail/index', 'id='.$val['id'])}"><img src="{:y_viewImage($val['viewimage'])}" width="120" height="80"/></a>
	</div>
	<div class="y-item-info">
		<h2><span class="y-time y-pullRight">{:date('m/d', $val['posttime'])}</span><a href="{:y_u('Detail/index', 'id='.$val['id'])}">{$val['title']}</a></h2>
		<div class="y-item-desc">
		{$val['description']}
		</div>
	</div>
	<div class="y-clearL"></div>
</div>
</foreach>

<div class="page">
{$pageString}
</div>
	</div>
	<!-- item -->
	
<!-- footer -->
<include file="Public:footer"/>
<!-- // footer -->
</body>
</html>